package com.sky.service.user.impl;

import com.sky.mapper.admin.MerchantMapper;
import com.sky.pojo.Merchant;

import com.sky.service.user.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class MerchantServiceImpl implements MerchantService {
   // TODO 注意admin里面也有MerchantMapper,注意区分
    @Autowired
    private MerchantMapper merchantMapper;

    @Override
    public Merchant getShopById(Long id) {
        return merchantMapper.getShopById(id);
    }
}